package lsf.itcast.service;

import lsf.itcast.domain.Permission;

import java.util.List;

public interface PermissionService {
    //查询所有权限
    List<Permission> findAll();
   //新增权限
    void save(Permission permission);
        //根据roleId查询权限
    List<Permission> findOtherPermission(String roleId);
}
